APOLLO-2844 Updated the test for class types to use doctrine utils