@Test(expected = IllegalArgumentException.class)
public void testWithUnknownSource() {

    addBeanClass(MyBeanReceivingString.class);
    initialize();
    InMemoryConnector bean = container.getBeanManager().createInstance()
            .select(InMemoryConnector.class, ConnectorLiteral.of(InMemoryConnector.CONNECTOR)).get();
    assertThat(bean).isNotNull();
    bean.source("unknown");
}