Skip to content

Commit

Permalink
Adjust test.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Oct 31, 2024
1 parent d16aee4 commit a89447b
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ public void testJarSelfInjectionWithDuplicateSpecification() throws Exception {
}

@Test
public void testIterationOrder() throws Exception {
public void testIterationOrderAll() throws Exception {
Iterator<TypeDescription> types = dynamicType.getAllTypes().keySet().iterator();
assertThat(types.hasNext(), is(true));
assertThat(types.next(), is(typeDescription));
Expand All @@ -327,6 +327,14 @@ public void testIterationOrder() throws Exception {
assertThat(types.hasNext(), is(false));
}

@Test
public void testIterationOrderAuxiliary() throws Exception {
Iterator<TypeDescription> types = dynamicType.getAuxiliaryTypes().keySet().iterator();
assertThat(types.hasNext(), is(true));
assertThat(types.next(), is(auxiliaryTypeDescription));
assertThat(types.hasNext(), is(false));
}

@Test
public void testIterationOrderAllDescriptions() throws Exception {
Iterator<TypeDescription> types = dynamicType.getAllTypeDescriptions().iterator();
Expand Down

0 comments on commit a89447b

Please sign in to comment.