def METHOD_NAME(self, mockFailoverFunc, mockRandomFunc, mockSequenceFunc, mockFTSServerStatus):
    "Test correct server policy method is called"
    obj = FTS3ServerPolicy(self.fakeServerDict, "Sequence")
    obj.chooseFTS3Server()
    self.assertTrue(mockSequenceFunc.called)
    obj = FTS3ServerPolicy(self.fakeServerDict, "Random")
    obj.chooseFTS3Server()
    self.assertTrue(mockRandomFunc.called)
    obj = FTS3ServerPolicy(self.fakeServerDict, "Failover")
    obj.chooseFTS3Server()
    self.assertTrue(mockFailoverFunc.called)
    # random policy should be selected for an invalid policy
    obj = FTS3ServerPolicy(self.fakeServerDict, "InvalidPolicy")
    obj.chooseFTS3Server()
    self.assertTrue(mockRandomFunc.called)