Ejemplo n.º 1
0
        public void Build_the_InstanceToken()
        {
            var instance = new InstanceUnderTest();
            instance.Name = "name of instance";

            var token = instance.CreateToken();

            Assert.AreEqual(instance.Name, token.Name);
            Assert.AreEqual("InstanceUnderTest", token.Description);
        }
Ejemplo n.º 2
0
        public void Build_the_InstanceToken()
        {
            var instance = new InstanceUnderTest();
            instance.Name = "name of instance";

            var token = instance.CreateToken();

            token.Name.ShouldBe(instance.Name);
            token.Description.ShouldBe("InstanceUnderTest");
        }
Ejemplo n.º 3
0
        public void Build_the_InstanceToken()
        {
            var instance = new InstanceUnderTest();

            instance.Name = "name of instance";

            var token = instance.CreateToken();

            Assert.AreEqual(instance.Name, token.Name);
            Assert.AreEqual("InstanceUnderTest", token.Description);
        }
Ejemplo n.º 4
0
        public void Build_the_InstanceToken()
        {
            var instance = new InstanceUnderTest();

            instance.Name = "name of instance";

            var token = instance.CreateToken();

            token.Name.ShouldBe(instance.Name);
            token.Description.ShouldBe("InstanceUnderTest");
        }