@Test
public void toUnsignedLong() {

    assertThat(DockerCloudUtils.toUnsignedLong(0)).isEqualTo(0L);
    assertThat(DockerCloudUtils.toUnsignedLong(1)).isEqualTo(1L);
    assertThat(DockerCloudUtils.toUnsignedLong(Integer.MAX_VALUE)).isEqualTo(Integer.MAX_VALUE);
    assertThat(DockerCloudUtils.toUnsignedLong(Integer.MIN_VALUE)).isEqualTo((long) Integer.MAX_VALUE + 1);
    assertThat(DockerCloudUtils.toUnsignedLong(-1)).isEqualTo(((long) Integer.MAX_VALUE) * 2 + 1);
}