Searched refs:payloadTypes (Results 1 – 1 of 1) sorted by relevance
379 final List<Class> payloadTypes = PAYLOAD_TYPES_MAP.get(event.getTag()); in verifyPayloadTypes() local380 assertNotNull("event type unknown: " + event.getTag(), payloadTypes); in verifyPayloadTypes()382 if (payloadTypes.size() == 0) { in verifyPayloadTypes()385 } else if (payloadTypes.size() == 1) { in verifyPayloadTypes()387 assertTrue(payloadTypes.get(0).isInstance(event.getData())); in verifyPayloadTypes()392 assertEquals(payloadTypes.size(), dataArray.length); in verifyPayloadTypes()393 for (int i = 0; i < payloadTypes.size(); i++) { in verifyPayloadTypes()394 assertTrue(payloadTypes.get(i).isInstance(dataArray[i])); in verifyPayloadTypes()