public bool FocusTypeIsPreset(string focusType) { var isCollection = collectionsSelector.IsCollection(TableNameConstants.Collection.FeatFoci, focusType); return(!string.IsNullOrEmpty(focusType) && focusType != GroupConstants.All && !isCollection); }
public void IsCollection_ReturnsInnerResult(bool isCollection) { mockInnerSelector .Setup(s => s.IsCollection("my table", "my collection")) .Returns(isCollection); var result = proxy.IsCollection("my table", "my collection"); Assert.That(result, Is.EqualTo(isCollection)); }
public bool IsCollection(string tableName, string collectionName) { return(innerSelector.IsCollection(tableName, collectionName)); }
public bool IsSpecialAbility(string name) { return(innerSelector.IsCollection(TableNameConstants.Collections.Set.SpecialAbilityAttributes, name)); }
public void IsCollectionInTable() { var isCollection = collectionsSelector.IsCollection("CollectionTable", "sub-collection"); Assert.That(isCollection, Is.True); }