@Test
public void TestGetLocale(){

    String locale = "US";
    MessageActionsPayload messageActionsPayload = new MessageActionsPayload(){
        {
            setLocale(locale);
        }
    };
    String result = messageActionsPayload.getLocale();
    Assert.assertEquals(result, locale);
}