@Test public void testVisitIndividual(@Mocked Individual<?,?> individual) throws Exception { LiteralValueExtractor<Number> extractor = LiteralValueExtractor.newInstance(Number.class); extractor.visitIndividual(individual); assertThat(extractor.getValue(),nullValue()); assertThat(extractor.isAvailable(),equalTo(false)); }
@Override public void visitIndividual(Individual<?, ?> value) { }
LiteralValueExtractor implements ValueVisitor { @Override public void visitIndividual(Individual<?, ?> value) { } }
LiteralValueExtractor implements ValueVisitor { @Override public void visitIndividual(Individual<?, ?> value) { } private  LiteralValueExtractor(LiteralAdapter<T> adapter); }
LiteralValueExtractor implements ValueVisitor { @Override public void visitIndividual(Individual<?, ?> value) { } private  LiteralValueExtractor(LiteralAdapter<T> adapter); @Override void visitLiteral(Literal<?> value); @Override void visitIndividual(Individual<?, ?> value); }
LiteralValueExtractor implements ValueVisitor { @Override public void visitIndividual(Individual<?, ?> value) { } private  LiteralValueExtractor(LiteralAdapter<T> adapter); @Override void visitLiteral(Literal<?> value); @Override void visitIndividual(Individual<?, ?> value);  }