Пример #1
0
        public void Instance_Is_ManyToMany()
        {
            //Arrange
            var type = typeof(ManyToMany);

            //Act
            var regionToSubclass = new RegionToSubclass();

            //Assert
            Assert.IsInstanceOf(type, regionToSubclass);
        }
Пример #2
0
        public void MyTestMethod()
        {
            //Arrange
            var regionToSubclass = new RegionToSubclass
            {
                Subclass = new Subclass()
            };

            //Act
            var result = regionToSubclass.Subclass;

            //Assert
            Assert.IsInstanceOf <Subclass>(result);
        }
Пример #3
0
        public void Region()
        {
            //Arrange
            var regionToSubclass = new RegionToSubclass
            {
                Region = new Region()
            };

            //Act
            var result = regionToSubclass.Region;

            //Assert
            Assert.IsInstanceOf <Region>(result);
        }