@@ -0,0 +1,578 @@
+#!/usr/bin/env python2%0A# -*- coding: utf-8 -*-%0A%0A%0Afrom pyecs import *%0Afrom pycompupipe.components import ResizeEventOnVideoresize%0A%0Aimport mock%0Aimport pygame%0A%0Afrom testing import *%0A%0Aclass TestResizeEventOnVideoresize():%0A%0A    def test(self):%0A        e = Entity()%0A        d = e.add_component(ResizeEventOnVideoresize())%0A%0A        mocked_resize = mock.MagicMock()%0A        mocked_event = mock.NonCallableMock()%0A        e.register_callback(%22resize%22, mocked_resize)%0A%0A        e.fire_callbacks(%22videoresize%22, mocked_event)%0A%0A        mocked_resize.assert_called_once_with(mocked_event.size)%0A

test ResizeEventOnVideoresize