@Test
public void thatCanCreateNewCredentials() {

    Credentials credentials = Credentials.createClient("myClient", "myPass");
    HaloCore core = HaloMock.createCore(credentials, null);
    core.credentials(Credentials.createClient("newClient", "newSecret"));
    assertThat(core.credentials()).isNotEqualTo(credentials);
    assertThat(core.credentials());
    assertThat(credentials.getUsername().equals(core.credentials().getUsername())).isFalse();
    assertThat(credentials.getPassword().equals(core.credentials().getPassword())).isFalse();
    assertThat(core.credentials().getUsername()).isEqualTo("newClient");
    assertThat(core.credentials().getPassword()).isEqualTo("newSecret");
}