@Test
public void shouldCorrectlyGenerateTheCorrectDataSourceNameBasedOnTheAppName() throws Exception {

    when(jndiAppNameProvider.getAppName()).thenReturn("framework");
    assertThat(viewStoreDataSourceNameProvider.getDataSourceName(), is("java:/DS.framework"));
}