InputStream stream = new FileInputStream(filePath);
Cluster cluster = (Cluster) EntityType.CLUSTER.getUnmarshaller().unmarshal(stream);
Assert.assertNotNull(cluster);
cluster.setColo("default"); // validations will be ignored if not default & tests fail
Interface anInterface = ClusterHelper.getInterface(cluster, interfacetype);
anInterface.setEndpoint(endpoint);
File tmpFile = context.getTempFile();
EntityType.CLUSTER.getMarshaller().marshal(cluster, tmpFile);
ClientResponse response = context.submitFileToFalcon(EntityType.CLUSTER, tmpFile.getAbsolutePath());
context.assertFailure(response);