Ejemplo n.º 1
0
		public void SetData_ToTestValue_ToStringReturnsTestValue()
		{
			var objectUnderTest = new nsAString();
			objectUnderTest.SetData("hello world");

			Assert.AreEqual("hello world", objectUnderTest.ToString());
		}
Ejemplo n.º 2
0
		public void SetData_ToEmptyString_ToStringReturnsEmptyString()
		{
			var objectUnderTest = new nsAString();
			objectUnderTest.SetData(String.Empty);

			Assert.AreEqual(String.Empty, objectUnderTest.ToString());
		}
Ejemplo n.º 3
0
		public void SetData_ToNull_ToStringReturnsNull()
		{
			var objectUnderTest = new nsAString();
			objectUnderTest.SetData(null);

			Assert.AreEqual(null, objectUnderTest.ToString());
		}
        public void SetData_ToTestValue_ToStringReturnsTestValue()
        {
            var objectUnderTest = new nsAString();

            objectUnderTest.SetData("hello world");

            Assert.AreEqual("hello world", objectUnderTest.ToString());
        }
        public void SetData_ToEmptyString_ToStringReturnsEmptyString()
        {
            var objectUnderTest = new nsAString();

            objectUnderTest.SetData(String.Empty);

            Assert.AreEqual(String.Empty, objectUnderTest.ToString());
        }
        public void SetData_ToNull_ToStringReturnsNull()
        {
            var objectUnderTest = new nsAString();

            objectUnderTest.SetData(null);

            Assert.AreEqual(null, objectUnderTest.ToString());
        }