@Test
public void testRenderValue() {

    when(mockSlotData.getValuesIndex()).thenReturn(Collections.singletonMap(
        "test_id", slotValueBuilder()
            .withValue("test_value")
            .withSynonyms(Collections.singletonList("test_synonym"))
            .build()
    ));
    assertEquals(
        underTest.renderSlotType(mockSlotType, mockSlotData),
        slotTypeBuilder()
            .withName("TypeName")
            .withValues(Collections.singletonList(
                slotTypeValueBuilder()
                    .withId("test_id")
                    .withName(slotValueBuilder()
                        .withValue("test_value")
                        .withSynonyms(Collections.singletonList("test_synonym"))
                        .build()
                    )
                    .build()
            ))
            .build());
}