    @Test
    public void shouldMergeTemplateIntoStringThrowExceptionOnNullTemplateReference() throws Exception {

        //Arrange
        final Map<String, Object> modelObject = new ImmutableMap.Builder<String, Object>().build();
        assertions.assertThat(modelObject).isNotNull();
        expectedException.expect(NullPointerException.class);

        //Act
        templateService.mergeTemplateIntoString(null, modelObject);

        //Assert
        fail("NullPointerException expected");
    }