'Check a valid configuration.'

def test_setup_platform_valid_config(self):

    with assert_setup_component(0, 'binary_sensor'):
        assert setup_component(self.hass, 'binary_sensor', test_tcp.TEST_CONFIG)
