Added some tests

This commit is contained in:
Sander Hautvast 2020-11-10 21:57:32 +01:00
parent 0a16440c2e
commit c535d7a231

View file

@ -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);
}
}