I am writing a test class for a utility class for inserting PushTopics.
Despite explicitly setting @isTest(SeeAllData=false) on my test class, I am getting a System.DMLException because of a duplicate name. This only happens when I have a PushTopic inserted into the org with the same name prior to running the test. Here is the exception I get.
System.DmlException: Insert failed. First exception on row 0; first error: DUPLICATE_VALUE, A PushTopic with this name already exists. Please choose a different name
What's extra weird is that when I query for it by name in my test class, nothing is returned...as expected with SeeAllData set to false. Then when I try to insert a PushTopic with that name, it errors stating that it's a duplicate.
Am I missing something here or is this a platform bug?