assertFalse(_clientAction.matches(_ruleAction, _addressOfClient));
}
public void testMatches_returnsTrueWhenActionsAndFirewallRuleMatch()
{
FirewallRule firewallRule = mock(FirewallRule.class);
when(firewallRule.matches(_addressOfClient)).thenReturn(true);
when(_action.matches(any(Action.class))).thenReturn(true);
when(_ruleAction.getFirewallRule()).thenReturn(firewallRule);
assertTrue(_clientAction.matches(_ruleAction, _addressOfClient));