@Test
public void testDoGet_returns404IfEumDisabled() throws Exception {

	// Given
	ServletPlugin servletPlugin = mockServletPluginWithCacheTime(0);
	when(servletPlugin.isClientSpanCollectionEnabled()).thenReturn(false);
	ClientSpanJavaScriptServlet clientSpanJavaScriptServlet = new ClientSpanJavaScriptServlet(servletPlugin);
	final MockHttpServletResponse response = new MockHttpServletResponse();
	// When
	clientSpanJavaScriptServlet.doGet(new MockHttpServletRequest(), response);
	// Then
	assertThat(response.getStatus()).isEqualTo(404);
	assertThat(response.getContentAsString()).isEmpty();
}