def test_STAT(self):
        """
        Test the single form of the STAT command, which returns a short-form
        response of the number of messages in the mailbox and their total size.
        """
        p = self.pop3Server
        s = self.pop3Transport

        p.lineReceived(b"STAT")
        self._flush()
        self.assertEqual(s.getvalue(), b"+OK 1 44\r\n")

        Test the single form of the STAT command, which returns a short-form
        response of the number of messages in the mailbox and their total size.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/mail/test/test_pop3.py