@Test
public void testMissingMethods() {
for(PojoClass nmsPacket : nmsPacketClasses) {
try {
String apiPacketName = "NMS" + nmsPacket.getClazz().getSimpleName();
PojoClass apiPacket = PojoClassFactory.getPojoClass(Class.forName("com.bergerkiller.bukkit.common.protocol.PacketTypeClasses$" + apiPacketName));
List<PojoField> expectedFields = nmsPacket.getPojoFields();
List<PojoField> actualFields = apiPacket.getPojoFields();
for(PojoField pojoField : expectedFields) {
if(!pojoField.getName().equals("timestamp") && !pojoField.isStatic()) {
PojoField actual = getFromList(actualFields, pojoField.getName(), apiPacket);
Assert.assertNotNull("Method missing, could not find method named " + pojoField.getName() + " for " + nmsPacket.getClazz().getSimpleName(), actual);
if(actual != null)