### Question:
RdsView { public String getHostWithPortWithJdbc() { return hostWithPortWithJdbc; } RdsView(RDSConfig rdsConfig); String getConnectionURL(); String getConnectionUserName(); String getConnectionPassword(); String getDatabaseName(); String getDatabaseType(); String getHost(); String getConnectionDriver(); String getLowerCaseDatabaseEngine(); String getDatabaseEngine(); String getSubprotocol(); String getPort(); DatabaseVendor getDatabaseVendor(); String getFancyName(); String getDisplayName(); String getClusterManagerVendor(); String getVendor(); String getUserName(); String getPassword(); String getName(); String getUpperCaseDatabaseEngine(); String getHostWithPortWithJdbc(); String getWithoutJDBCPrefix(); String getConnectionString(); static final String WITHOUT_JDBC_PREFIX_REGEX; }### Answer:
@Test public void testCreateRdsViewWhenCutDatabaseNameIfContainsMoreThanOne() { String connectionUrl = "jdbc:mysql: RDSConfig rdsConfig = createRdsConfig(connectionUrl, DatabaseVendor.MYSQL); RdsView underTest = new RdsView(rdsConfig); Assert.assertEquals(ASSERT_ERROR_MSG, "jdbc:mysql: }