PentahoPoolDataSourceConnectionProvider implements ConnectionProvider { public void setName( final String name ) { this.name = name; } 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 testSetName() throws Exception { Assert.assertNull( provider.getName() ); provider.setName( "mysql" ); Assert.assertEquals( "mysql", provider.getName() ); }