OpenConextJsonParser { public ObjectMapper getObjectMapper() { return objectMapper; } OpenConextJsonParser(); GroupMembersEntry parseTeamMembers(InputStream in); PersonEntry parsePerson(InputStream in); GroupEntry parseGroups(InputStream in); Group20Entry parseGroups20(InputStream in); ObjectMapper getObjectMapper(); void setObjectMapper(ObjectMapper objectMapper);  }
@Test public void testNotNullInclusion() throws Exception { ObjectMapper objectMapper = parser.getObjectMapper(); ByteArrayOutputStream out = new ByteArrayOutputStream(); objectMapper.writeValue( out, new Person()); assertEquals("{}", out.toString()); }