コード例 #1
0
  @Test(expected = VESException.class)
  public void NullConfigProvider_Should_Fail_On_Missing_Database() throws VESException {
    NullConfigProvider cfg = new NullConfigProvider();

    cfg.getDatabaseConnectionString();

    assertFalse(true);
  }
コード例 #2
0
  @Test(expected = VESException.class)
  public void NullConfigProvider_Should_Fail_On_Missing_Storage() throws VESException {
    NullConfigProvider cfg = new NullConfigProvider();

    cfg.getStoragePath();

    assertFalse(true);
  }