public void ThenThrowExcpetionGetParameterTest() { //Arrange _provider = (DataProvider)1000; _classUnderTest = new DbManagerFactoryTesteable(_provider); //Act _classUnderTest.GetParameter(); //Assert Assert.Fail("ExpectedException InvalidEnumArgumentException"); }
public void ThenThrowExcpetionGetTransactionTest() { //Arrange _classUnderTest = new DbManagerFactoryTesteable(DataProvider.SqlServer); //Act _classUnderTest.GetTransaction(); //Assert Assert.Fail("ExpectedException InvalidEnumArgumentException"); }
public WhenSqlDataProvider() { _provider = DataProvider.SqlServer; _classUnderTest = new DbManagerFactoryTesteable(_provider); }