PentahoPoolDataSourceConnectionProvider implements ConnectionProvider { public void setPassword( final String password ) { this.password = password; } PentahoPoolDataSourceConnectionProvider(); @Override Connection createConnection( final String user, final String password ); String getName(); void setName( final String name ); String getUsername(); void setUsername( final String username ); String getPassword(); void setPassword( final String password ); Object getConnectionHash();  }
@Test public void testSetPassword() throws Exception { Assert.assertNull( provider.getPassword() ); provider.setPassword( "password" ); Assert.assertEquals( "password", provider.getPassword() ); }