### Question:
IndividualExtractor implements ValueVisitor { @Override public void visitLiteral(Literal<?> value) { } private  IndividualExtractor(final Class<? extends S> clazz); @Override void visitLiteral(Literal<?> value); @Override void visitIndividual(Individual<?, ?> value);  }### Answer:
@Test public void testVisitLiteral(@Mocked Literal<?> literal) throws Exception { IndividualExtractor<ManagedIndividualId, ManagedIndividual> sut = IndividualExtractor.newInstance(ManagedIndividual.class); sut.visitLiteral(literal); assertThat(sut.isAvailable(),equalTo(false)); assertThat(sut.getValue(),nullValue()); }