public void IsEmpty_WhenMembersAreIncluded_ReturnsFalse() { var config = new StructureTypeConfig(typeof(Dummy)); config.MemberPathsBeingIndexed.Add("Temp"); Assert.IsFalse(config.IndexConfigIsEmpty); }
public void Ctor_WhenPassingType_TypePropertyIsAssigned() { var expectedType = typeof (Dummy); var config = new StructureTypeConfig(expectedType); Assert.AreEqual(expectedType, config.Type); }
public void IsEmpty_WhenNothingIsRegistrered_ReturnsTrue() { var config = new StructureTypeConfig(typeof (Dummy)); Assert.IsTrue(config.IndexConfigIsEmpty); }
public void IncludeContainedStructureMembers_WhenDefault_Ctor_IsFalse() { var config = new StructureTypeConfig(typeof(Dummy)); Assert.IsFalse(config.IncludeContainedStructureMembers); }