new SocketTimeoutException("mock..."));
final IApplication application = domain.getApplicationByName("springeap6");
assertThat(application.getEmbeddedCartridges()).hasSize(2);
// operation
final IEmbeddedCartridge mysql = application.getEmbeddedCartridge("mysql-5.1");
try {
mysql.destroy();
fail("Expected an exception here..");
} catch (OpenShiftTimeoutException e) {
// ok
}