public void TestingApiDbRunMigrationsException_PassMessageAndException_ShouldPass() { var apiDbRunMigrationsException = new ApiDbRunMigrationsException("Hello World!!!", new ArgumentException()); Assert.Equal("Hello World!!!", apiDbRunMigrationsException.Message); Assert.IsType <ArgumentException>(apiDbRunMigrationsException.InnerException); }
public void TestingApiDbRunMigrationsException_PassMessage_ShouldPass() { var apiDbRunMigrationsException = new ApiDbRunMigrationsException("Hello World!!!"); Assert.Equal("Hello World!!!", apiDbRunMigrationsException.Message); }