summaryrefslogtreecommitdiff
path: root/slips/src/test/Marina.Test/Unit/Infrastructure/Logging/TextWriterLogging/TextWriterLogFactoryTest.cs
blob: 7827274a5b541a47b9185e86ae37b23d6b8d44d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using Marina.Infrastructure.Logging.Interfaces;
using Marina.Infrastructure.Logging.TextWriterLogging;
using MbUnit.Framework;

namespace Marina.Test.Unit.Infrastructure.TextWriterLogging {
	[TestFixture]
	public class TextWriterLogFactoryTest {
		[Test]
		public void Should_create_a_text_writer_log( ) {
			ILog log = CreateSUT( ).CreateFor( this.GetType( ) );
			Assert.IsNotNull( log );
			Assert.IsInstanceOfType( typeof( TextWriterLog ), log );
		}

		private ILogFactory CreateSUT( ) {
			return new TextWriterLogFactory( );
		}
	}
}