public void WhenTargetModelIsBuilt_DoesNotCrash(Type migration) { var sut = Activator.CreateInstance(migration) as Migration; sut.Should().NotBeNull(); sut !.TargetModel.ToDebugString().Should().NotBeEmpty(); }