@Test
public void thatCanConfigureCredentials() {

    Credentials credentials = Credentials.createClient("myClientId", "myClientSecret");
    HaloCore core = HaloMock.createCore(credentials);
    assertThat(core.credentials()).isNotNull();
    assertThat(core.credentials().getUsername()).isEqualTo("myClientId");
    assertThat(core.credentials().getPassword()).isEqualTo("myClientSecret");
}