Esempio n. 1
0
        public void Should_LogNull_When_ListContainsOneObject()
        {
            LogAssert.Expect(LogType.Log, "null");

            DebugWrapper.LogCollection(new List <object>()
            {
                new Object()
            });
        }
Esempio n. 2
0
        public void Should_LogEmptyString_When_EmptyCollectionIsPassed()
        {
            LogAssert.Expect(LogType.Log, "");

            DebugWrapper.LogCollection(new object[0]);
        }
Esempio n. 3
0
        public void Should_LogTrue_When_ArrayContainsOneBooleanSetToTrue()
        {
            LogAssert.Expect(LogType.Log, "True");

            DebugWrapper.LogCollection(new [] { true });
        }
Esempio n. 4
0
 public void Should_LogNothing_When_NullIsPassed()
 {
     DebugWrapper.LogCollection <bool>(null);
     Assert.True(true);
 }