@Test(expected = IllegalArgumentException.class) public void of_null() { ConnectedAccount.of(false, null); }
public static ConnectedAccount of(boolean authenticationRequired, Account account) { Entity.isEntityDefined(account, "Account must be defined"); return new ConnectedAccount(authenticationRequired, account); }
ConnectedAccount { public static ConnectedAccount of(boolean authenticationRequired, Account account) { Entity.isEntityDefined(account, "Account must be defined"); return new ConnectedAccount(authenticationRequired, account); } }
ConnectedAccount { public static ConnectedAccount of(boolean authenticationRequired, Account account) { Entity.isEntityDefined(account, "Account must be defined"); return new ConnectedAccount(authenticationRequired, account); }  }
ConnectedAccount { public static ConnectedAccount of(boolean authenticationRequired, Account account) { Entity.isEntityDefined(account, "Account must be defined"); return new ConnectedAccount(authenticationRequired, account); }  static ConnectedAccount none(boolean authenticationRequired); static ConnectedAccount of(boolean authenticationRequired, Account account); boolean isLogged(); ConnectedAccount add(Action action); }
ConnectedAccount { public static ConnectedAccount of(boolean authenticationRequired, Account account) { Entity.isEntityDefined(account, "Account must be defined"); return new ConnectedAccount(authenticationRequired, account); }  static ConnectedAccount none(boolean authenticationRequired); static ConnectedAccount of(boolean authenticationRequired, Account account); boolean isLogged(); ConnectedAccount add(Action action);  }