private void checkTemplate(
            DockerTemplate template,
            String labelString,
            String user,
            String remoteFs,
            String instanceCapStr,
            String[] mounts,
            String environmentsString) {
        assertNotNull(template);
        assertEquals(labelString, template.getLabelString());
        assertEquals(user, ((DockerComputerAttachConnector) template.getConnector()).getUser());
        assertEquals(remoteFs, template.getRemoteFs());
        assertEquals(instanceCapStr, template.getInstanceCapStr());
        assertArrayEquals(mounts, template.getMounts());
        assertEquals(environmentsString, template.getEnvironmentsString());
    }
@author <a href="mailto:nicolas.deloof@gmail.com">Nicolas De Loof</a>
integrations/src/test/java/io/jenkins/plugins/casc/DockerCloudTest.java