class TestInPortConnector(unittest.TestCase):
    def setUp(self):
        self._prof = OpenRTM_aist.ConnectorBase.Profile(
            "name", "id", [], OpenRTM_aist.Properties())
        self._ic = InPortConnector(self._prof, None)
        return

    def test_profile(self):
        self.assertEqual(self._ic.profile(), self._prof)
        return

    def test_id(self):
        self.assertEqual(self._ic.id(), "id")
        return

    def test_name(self):
        self.assertEqual(self._ic.name(), "name")

    def test_getBuffer(self):
        self.assertEqual(self._ic.getBuffer(), None)