### Question:
DataTypesAction implements Action<GetDataTypes, DataTypes> { @Override public Class<GetDataTypes> getRequestType() { return GetDataTypes.class; } @Inject  DataTypesAction(AuthServiceProviderRegistry registry, Monitor monitor); @Override Class<GetDataTypes> getRequestType(); @Override DataTypes handle(GetDataTypes request);  }### Answer:
@Test public void testGetRequestType() { AuthServiceProviderRegistry registry = mock(AuthServiceProviderRegistry.class); DataTypesAction dataTypesAction = new DataTypesAction(registry, new Monitor() {}); Class<GetDataTypes> actual = dataTypesAction.getRequestType(); Assert.assertNotEquals(actual, null); Assert.assertEquals(actual, GetDataTypes.class); }