Java How Do I Test Code Calling Static Factory Methods With Or

Java How Do I Test Code Calling Static Factory Methods With Or