### Question:
DataTypeSelect { public HTMLElement getElement() { return view.getElement(); } @Inject  DataTypeSelect(final View view,
                          final DataTypeUtils dataTypeUtils,
                          final DataTypeManager dataTypeManager); HTMLElement getElement(); void init(final DataTypeListItem gridItem,
                     final DataType dataType); String getValue();  }### Answer:
@Test public void testGetElement() { final HTMLElement expected = mock(HTMLElement.class); when(view.getElement()).thenReturn(expected); final HTMLElement actual = dataTypeSelect.getElement(); assertEquals(actual, expected); }