The DumperTest class is FUBAR in its design: It mocks the DBAL connection, making assumptions about the order and semantics of the queries the Dumper class will issue.
As long as we need to query the database for schema information and/or use the DBAL schema tool that does it, probably the only way to go for code like this is to do real functional/integration tests against a real database.
Since this broken test is getting in our way in #88, let's remove it.
The
DumperTest
class is FUBAR in its design: It mocks the DBAL connection, making assumptions about the order and semantics of the queries theDumper
class will issue.As long as we need to query the database for schema information and/or use the DBAL schema tool that does it, probably the only way to go for code like this is to do real functional/integration tests against a real database.
Since this broken test is getting in our way in #88, let's remove it.