assertThat(cartridge.getType()).isEqualTo(CartridgeType.EMBEDDED);
assertThat(cartridge.getUrl()).isNull();
CartridgeResourceProperties properties = cartridge.getProperties();
assertThat(properties).isNotNull();
assertThat(properties.size()).isEqualTo(4);
new ResourcePropertyAssert(properties.getAll().get(0))
.hasName("username")
.hasDescription("Root user on mysql database")
.hasType("cart_data")
.hasValue("adminnFC22YQ");
new ResourcePropertyAssert(properties.getAll().get(1))
.hasName("password")
.hasDescription("Password for root user on mysql database")
.hasType("cart_data")
.hasValue("U1IX8AIlrEcl");
new ResourcePropertyAssert(properties.getAll().get(2))
.hasName("database_name")
.hasDescription("MySQL DB name")
.hasType("cart_data")
.hasValue("springeap6");
new ResourcePropertyAssert(properties.getAll().get(3))
.hasName("connection_url")
.hasDescription("MySQL DB connection URL")
.hasType("cart_data")
.hasValue("mysql://$OPENSHIFT_MYSQL_DB_HOST:$OPENSHIFT_MYSQL_DB_PORT/");
assertThat(cartridge.getLinks()).hasSize(7);