public void Test_Constructor_ConfigurationNotGiven_ConfigurationIsSet() { // Assign // Act var sut = new NHibernateHelper(); // Assert Assert.That(() => sut.Configuration, Is.InstanceOf<Configuration>()); }
public void Test_Constructor_ConfigurationGiven_ConfigurationIsSame() { // Assign var configuration = new Configuration(); // Act var sut = new NHibernateHelper(configuration); // Assert Assert.That(() => sut.Configuration, Is.SameAs(configuration)); }