I tried it. It doesn't work. If getTransport() is static it must be implemented in the base class which is what is invoked in @BeforeClass instead of the subclass implementation.