### Question:
FullLattice { public int getDepth() { return lattice.getDepth(); }  Optional<LatticeMD> addIfMinimalAndSupported(MD md); Collection<LatticeMD> findViolated(SimilaritySet similaritySet); int getDepth(); Collection<LatticeMD> getLevel(int level); void markNotSupported(MDSite lhs); int size();  }### Answer:
@Test public void testGetDepth() { FullLattice fullLattice = new FullLattice(lattice, notSupported); when(Integer.valueOf(lattice.getDepth())).thenReturn(Integer.valueOf(2)); assertThat(fullLattice.getDepth()).isEqualTo(2); verify(lattice).getDepth(); }