Example #1
0
        public void RegularMethodsCallTest()
        {
            PartialClass _newObject = new PartialClass();

            Assert.ThrowsException <System.NotImplementedException>(() => _newObject.MethodPart1());
            Assert.ThrowsException <System.NotImplementedException>(() => _newObject.MethodPart2());
        }
Example #2
0
        public void AttribuitesTest()
        {
            PartialClass _newObject        = new PartialClass();
            Type         _partialClassType = _newObject.GetType();

            object[] _atributes = _partialClassType.GetCustomAttributes(false);
            Assert.AreEqual(1, _atributes.Length);
        }