@Test public void testNoDBSubnetGroupName() { when(server.getServerId()).thenReturn(null); assertNull(underTest.getDBSubnetGroupName()); }
public String getDBSubnetGroupName() { return databaseServer.getServerId() != null ? "dsg-" + databaseServer.getServerId() : null; }
AwsRdsDbSubnetGroupView { public String getDBSubnetGroupName() { return databaseServer.getServerId() != null ? "dsg-" + databaseServer.getServerId() : null; } }
AwsRdsDbSubnetGroupView { public String getDBSubnetGroupName() { return databaseServer.getServerId() != null ? "dsg-" + databaseServer.getServerId() : null; } AwsRdsDbSubnetGroupView(DatabaseServer databaseServer); }
AwsRdsDbSubnetGroupView { public String getDBSubnetGroupName() { return databaseServer.getServerId() != null ? "dsg-" + databaseServer.getServerId() : null; } AwsRdsDbSubnetGroupView(DatabaseServer databaseServer); String getDBSubnetGroupName(); }
AwsRdsDbSubnetGroupView { public String getDBSubnetGroupName() { return databaseServer.getServerId() != null ? "dsg-" + databaseServer.getServerId() : null; } AwsRdsDbSubnetGroupView(DatabaseServer databaseServer); String getDBSubnetGroupName();  }