@Test
public void shouldReturnTrueWhenDependenciesListIsEmptyAndProductHasntDependencies() {

    // given
    TierResourceValidatorImpl tierResourceValidator = new TierResourceValidatorImpl();
    Map<String, String> productsNameMap = new HashMap<String, String>();
    List<String> contextBrokerDependencies = new ArrayList<String>(2);
    // when
    boolean result = tierResourceValidator.checkTierProductsInDependencyList(contextBrokerDependencies,
            productsNameMap);
    // then
    assertTrue(result);
}