public void Should_throw_a_NotFoundException_indicating_the_identifer_could_not_be_found() { ActualException.ShouldNotBeNull(); ActualException.ShouldBeExceptionType<NotFoundException>(); ActualException.Message.ShouldContain("identifier"); ActualException.Message.ShouldContain("could not be found"); }
public void Should_throw_a_NotSupportedException_indicating_the_type_is_not_handled() { ActualException.ShouldNotBeNull(); ActualException.ShouldBeExceptionType<NotSupportedException>(); ActualException.Message.ShouldContain("Unhandled"); }