'Test setup with all data.'

@patch('os.path.isfile', return_value=True)
@patch('os.access', return_value=True)
def test_apns_setup_full(self, mock_access, mock_isfile):

    config = {'notify': {'platform': 'apns', 'name': 'test_app', 'sandbox': 'True', 'topic': 'testapp.appname', 'cert_file': 'test_app.pem'}}
    with assert_setup_component(1) as handle_config:
        assert setup_component(self.hass, notify.DOMAIN, config)
    assert handle_config[notify.DOMAIN]
