@Test
public void pairFactoryMethodInvalidArgument() {

    assertThatExceptionOfType(NullPointerException.class).isThrownBy(() -> DockerCloudUtils.pair(null, "1"));
    assertThatExceptionOfType(NullPointerException.class).isThrownBy(() -> DockerCloudUtils.pair("A", null));
}