The name() Test Like the wasCancelled()method, the name() method is not thread-safe, so our test class needs another boilerplate helper method:
Read Complete Article