### Question:
SQLAlias implements Cloneable, Serializable, ISQLAliasExt, Comparable<Object> { public synchronized boolean isValid() { return _name != null && _name.length() > 0 && _driverId != null && _url != null && _url.length() > 0; } SQLAlias();  SQLAlias(IIdentifier id); synchronized void assignFrom(SQLAlias rhs, boolean withIdentifier); boolean equals(Object rhs); synchronized int hashCode(); String toString(); int compareTo(Object rhs); void addPropertyChangeListener(PropertyChangeListener listener); void removePropertyChangeListener(PropertyChangeListener listener); synchronized boolean isValid(); IIdentifier getIdentifier(); String getName(); IIdentifier getDriverIdentifier(); String getUrl(); String getUserName(); String getPassword(); void setPassword(String password); boolean isAutoLogon(); void setAutoLogon(boolean value); boolean isConnectAtStartup(); void setConnectAtStartup(boolean value); boolean getUseDriverProperties(); void setIdentifier(IIdentifier id); void setName(String name); void setDriverIdentifier(IIdentifier data); void setUrl(String url); void setUserName(String userName); void setUseDriverProperties(boolean value); synchronized SQLDriverPropertyCollection getDriverPropertiesClone(); synchronized void setDriverProperties(SQLDriverPropertyCollection value); SQLAliasSchemaProperties getSchemaProperties(); void setSchemaProperties(SQLAliasSchemaProperties schemaProperties); @Override SQLAliasColorProperties getColorProperties(); @Override void setColorProperties(SQLAliasColorProperties colorProperties); @Override SQLAliasConnectionProperties getConnectionProperties(); @Override void setConnectionProperties(SQLAliasConnectionProperties connectionProperties);  }### Answer:
@Test public void testIsValid() { SQLAlias uninitializedAlias = new SQLAlias(); assertEquals(false, uninitializedAlias.isValid()); }