I'm using PHPUnit for the first time, and I'm trying to write a test for an interface. Looking at stuff online, the recommendation was create a sample class of the interface to test, so I wrote this:
class TestConnection { }
class TestConnectionAdapter implements ConnectionAdapterInterface { }
class ConnectionAdapterInterfaceTest extends TestCase { }
However, when I run PHPUnit, I get the error
Input/output error
Commenting out the two non-test classes fixed the error, which tells me PHPUnit is trying to run them as tests? If so, how can I tell PHPUnit to ignore certain classes I'm setting up specifically for tests?