public void HaveParameterlessConstructor() { // Arrange var context = new PortfolioCmsDbContext(); // Act & Assert Assert.IsInstanceOf <PortfolioCmsDbContext>(context); }
public void Return_InstanceOfIPortfolioCmsDbContext() { // Arrange var context = new PortfolioCmsDbContext(); // Act & Assert Assert.IsInstanceOf <IPortfolioCmsDbContext>(context); }
public void ShouldReturnNewDbContextInstance() { // Arrange & Act var newContext = PortfolioCmsDbContext.Create(); // Assert Assert.IsNotNull(newContext); Assert.IsInstanceOf <IPortfolioCmsDbContext>(newContext); }