use of com.spotify.docker.client.messages.Version in project helios by spotify.
the class ExecHealthCheckerTest method testIncompatibleVersion.
@Test
public void testIncompatibleVersion() throws Exception {
final Version version = mock(Version.class);
when(version.apiVersion()).thenReturn("1.15");
when(docker.version()).thenReturn(version);
exception.expect(UnsupportedOperationException.class);
checker.check(CONTAINER_ID);
}
Aggregations