Added some tests
This commit is contained in:
parent
0a16440c2e
commit
c535d7a231
1 changed files with 13 additions and 0 deletions
|
|
@ -0,0 +1,13 @@
|
||||||
|
package nl.sander.beejava.constantpool.entry;
|
||||||
|
|
||||||
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
|
import static org.junit.jupiter.api.Assertions.assertSame;
|
||||||
|
|
||||||
|
public class ClassEntryTest {
|
||||||
|
@Test
|
||||||
|
public void testGetChildren() {
|
||||||
|
Utf8Entry name = new Utf8Entry("");
|
||||||
|
assertSame(new ClassEntry(name).getChildren().iterator().next(), name);
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue