invalid scenario : mode and url must not be empty concode_field_sep String mode concode_elem_sep HubValidator hubValidator concode_elem_sep String topic concode_elem_sep String callbackUrl concode_elem_sep String secret concode_elem_sep String url concode_elem_sep String leaseSeconds concode_field_sep void validateSubscriptionWithException concode_elem_sep void validatePingWithNullStrings concode_elem_sep void validateSubscriptionWithEmptyStringsAndInvalidLeaseSeconds concode_elem_sep void validateSubscriptionWithValidModesAndOtherMandatoryFieldsNull concode_elem_sep void validateSubscriptionWithInvalidModes concode_elem_sep void validatePingTest concode_elem_sep void validatePingWithValidUrl concode_elem_sep void validatePingWithValidParams concode_elem_sep void validateSubscriptionWithValidLeaseSeconds concode_elem_sep void validatePingWithValidMode concode_elem_sep void validateSubscriptionTest concode_elem_sep void validateSubscriptionWithValidTopic concode_elem_sep void validateSubscriptionWithValidCallBackUrl concode_elem_sep void validatePingWithInvalidMode concode_elem_sep void validateSubscriptionWithNullStrings concode_elem_sep void setUp
void function ( ) { mode = "srini_string" ; url = "srini_string" ; List < String > loc0 = hubValidator . validatePing ( mode , url ) ; assertNotNull ( loc0 ) ; assertEquals ( 2 , loc0 . size ( ) ) ; assertEquals ( "srini_string" , loc0 . get ( 0 ) ) ; assertEquals ( "srini_string" , loc0 . get ( 1 ) ) ; }