@Test public void size() throws Exception { underTest = new InputParameterResolverContext(Collections.emptyList()); int size = underTest.size(); assertThat(size, is(0)); }
@Test public void merge() throws Exception { underTest = new InputParameterResolverContext(asList(1)); InputParameterResolverContext result = underTest.clone(); result.markAsUsed(0); underTest.merge(result); assertTrue(underTest.isUsed(0)); assertTrue(underTest.fullyUsed()); assertTrue(result.isUsed(0)); assertTrue(result.fullyUsed()); }