@Test
public void addMappingToExistingSource() {

    final Source sourceWithMapping = new ImmutableSource.Builder(SOURCE_WITH_AUTH_CONTEXT)
            .payloadMapping(ConnectivityModelFactory.newPayloadMapping("mapping"))
            .build();
    assertThat(sourceWithMapping.getPayloadMapping().getMappings()).containsExactly("mapping");
}