Searched refs:objectReader (Results 1 – 7 of 7) sorted by relevance
33 ObjectReader objectReader; field in ObjectReaderValueOfWithValueTypeTest43 when(objectReader.readValue((String) any())).thenReturn(pojo); in testValueOfStringWithValueType()44 when(objectReader.forType((Class<?>) any())).thenReturn(objectReader); in testValueOfStringWithValueType()45 when(objectReader.readValue((String) any(), (Class<?>) any())).thenCallRealMethod(); in testValueOfStringWithValueType()48 POJO result = objectReader.readValue(source, POJO.class); in testValueOfStringWithValueType()51 verify(objectReader).forType(POJO.class); in testValueOfStringWithValueType()52 verify(objectReader).readValue(source); in testValueOfStringWithValueType()58 when(objectReader.forType((Class<?>) any())).thenReturn(objectReader); in testValueOfByteArrayWithValueType()59 when(objectReader.readValue((byte[]) any())).thenReturn(pojo); in testValueOfByteArrayWithValueType()60 when(objectReader.readValue((byte[]) any(), (Class<?>) any())).thenCallRealMethod(); in testValueOfByteArrayWithValueType()[all …]
245 protected ObjectReader objectReader() { in objectReader() method in BaseMapTest249 protected ObjectReader objectReader(Class<?> cls) { in objectReader() method in BaseMapTest
126 ConvertingBean bean = objectReader(ConvertingBean.class).readValue("[1,2]"); in testClassAnnotationSimple()134 ConvertingBeanContainer container = objectReader(ConvertingBeanContainer.class) in testClassAnnotationForLists()144 PointWrapper wrapper = objectReader(PointWrapper.class).readValue("{\"value\":[3,4]}"); in testPropertyAnnotationSimple()153 LowerCaseText text = objectReader(LowerCaseText.class).readValue("{\"text\":\"Yay!\"}"); in testPropertyAnnotationLowerCasing()161 …LowerCaseTextArray texts = objectReader(LowerCaseTextArray.class).readValue("{\"texts\":[\"ABC\"]}… in testPropertyAnnotationArrayLC()170 PointListWrapperArray array = objectReader(PointListWrapperArray.class) in testPropertyAnnotationForArrays()180 PointListWrapperList array = objectReader(PointListWrapperList.class) in testPropertyAnnotationForLists()190 PointListWrapperMap map = objectReader(PointListWrapperMap.class) in testPropertyAnnotationForMaps()204 Issue795Bean bean = objectReader(Issue795Bean.class) in testConvertToAbstract()
54 ObjectReader objectReader = newJsonMapper().readerFor(Wrapper.class); in testLocationAccessWithExtTypeId() local56 Wrapper wrapper = objectReader.readValue("{" + in testLocationAccessWithExtTypeId()
9 private final ObjectReader READER = objectReader();
46 private final ObjectReader BIGGIE_READER = objectReader(Biggie.class);
80 ObjectNode root = (ObjectNode) objectReader().readTree("{\"x\":null}"); in testNullHandling()