can we use an anonymous class instead of `MyClass`? This way the fixture is contained in the test case.