public void GetContainerEntityWhenPropertyIsInComponentThenReturnEntity()
        {
            var orm = new Mock<IDomainInspector>();
            orm.Setup(x => x.IsEntity(typeof(MainEntity))).Returns(true);
            orm.Setup(x => x.IsRootEntity(typeof(MainEntity))).Returns(true);
            orm.Setup(x => x.IsEntity(typeof(InheritedEntity))).Returns(true);
            var level0 = new PropertyPath(null, ForClass<InheritedEntity>.Property(p => p.Component));
            var path = new PropertyPath(level0, ForClass<MyComponent>.Property(p => p.Something));

            path.GetContainerEntity(orm.Object).Should().Be(typeof (InheritedEntity));
        }