public void Feature_CompanyThatExists_Guid_ReturnsTrue() { var jsonSettings = GetJsonSettings(EnvironmentEnum.LOCAL); var feature = new EntitySpecificFeature(jsonSettings); var compId = "00000000-0000-0000-0000-000000000000"; Assert.IsTrue(feature.IsEnabled(compId)); }
public void Feature_CompanyThatDoesntExist_Guid_ReturnsFalse() { var jsonSettings = GetJsonSettings(EnvironmentEnum.LOCAL); var feature = new EntitySpecificFeature(jsonSettings); var compId = Guid.NewGuid().ToString(); Assert.IsFalse(feature.IsEnabled(compId)); }
public void Feature_CompanyThatExists_Long_ReturnsTrue() { var jsonSettings = GetJsonSettings(EnvironmentEnum.LOCAL); var feature = new EntitySpecificFeature(jsonSettings); var compId = (1234567891234).ToString(); Assert.IsTrue(feature.IsEnabled(compId)); }