예제 #1
0
        public void TestPrivateConstructor()
        {
            ReportReaderHelpers.Check(
                @"
<Root>
    <Id>
        e3637da2-2220-422e-85f8-5f8268f024ea
    </Id>
</Root>
", PrivateConstructor.Create(new Guid("e3637da2-2220-422e-85f8-5f8268f024ea")));
        }
예제 #2
0
        public void PrivateConstructorTest()
        {
            PrivateConstructor obj = faker.Create <PrivateConstructor>();

            if (obj == null)
            {
                logger.Info("PrivateConstructorTest compled succesfully: object are equal");
            }
            else
            {
                logger.Info("PrivateConstructorTest compled not succesfully: object are't equal");
            }
            Assert.AreEqual(null, obj);
        }
예제 #3
0
        public void Test_12_PrivateConstructor()
        {
            PrivateConstructor Obj = Types.Instantiate <PrivateConstructor>(false);

            Assert.IsNotNull(Obj);
        }
예제 #4
0
        public void TestPrivateConstructor()
        {
            PrivateConstructor pc = _faker.Create <PrivateConstructor>();

            Assert.AreEqual(pc, default(PrivateConstructor));
        }