def METHOD_NAME(self, pdt, name):
    other = mock.Mock(
        name="datetime",
        spec=datetime.datetime,
        year=2013,
        month=3,
        day=20,
        second=2,
    )
    self._test(pdt, other, name)