private void parseChannelConfig(String name, String config, String address,
int channel) throws BindingConfigParseException {
Item item = new SwitchItem(name);
provider.processBindingConfiguration("context", item, config);
ModuleChannel c = (ModuleChannel) provider
.getItemConfig(name);
assertEquals(name, c.getName());
assertEquals(address, c.getAddress());
}