### Question:
Property { Property() { this.arguments = null; this.children = null; this.method = null; } Property(); @Override String toString();  }### Answer:
@Test public void propertyTest() { Property property = new Property(); property.setMethod(GraphQLMethod.QUERY); property.setArguments(null); property.setVariables(null); property.setChildren(null); property.setResourceName("resourceName"); assertEquals(GraphQLMethod.QUERY, property.getMethod()); assertNull(property.getArguments()); assertNull(property.getVariables()); assertNull(property.getChildren()); assertEquals("resourceName", property.getResourceName()); assertEquals("query : resourceName ", property.getMessage(null)); assertEquals("query fieldName : resourceName ", property.getMessage("fieldName")); assertEquals("Property{resourceName='resourceName', method='QUERY', arguments=null, variables=null, children=null, message=}", property.toString()); }