@Test
public void from_Name() throws Exception {

  Name mock = Mockito.mock(Name.class);
  when(mock.toString()).thenReturn(TOTO);
  assertThat(JavaxDANameFactory.from(mock).getName()).isEqualTo(TOTO);
}