ServiceTools { public IJsonMarshaller getJsonMarshaller(Annotation[] annotations) throws JsonMarshallerException { if (annotations != null) { for (Annotation annotation : annotations) { if (JsonUnmarshaller.class.isAssignableFrom(annotation.annotationType())) { return getJsonMarshallerFromAnnotation((JsonUnmarshaller) annotation); } } } return null; }  String getShortName(String fullformat); String getLiteralType(Type type); IJsonMarshaller getJsonMarshaller(Annotation[] annotations); IJsonMarshaller getJsonMarshallerFromAnnotation(JsonUnmarshaller jua); String getTemplateOfType(Type type, IJsonMarshaller jsonMarshaller); String getInstanceNameFromDataservice(Class cls); boolean isConsiderateMethod(Method method);  }
@Test public void testGetJsonMarshallerFromAnnotationsNullArgument() throws JsonMarshallerException { System.out.println("getJsonMarshallerFromAnnotationsNullArgument"); org.ocelotds.marshalling.IJsonMarshaller result = instance.getJsonMarshaller(null); assertThat(result).isNull(); }
@Test public void testGetJsonMarshallerFromAnnotationsNoAnnotation() throws JsonMarshallerException { System.out.println("getJsonMarshallerFromAnnotationsNoAnnotation"); Annotation[] annotations = new Annotation[0]; org.ocelotds.marshalling.IJsonMarshaller result = instance.getJsonMarshaller(annotations); assertThat(result).isNull(); }