@Test
  public void should_create_dashboard() {
    Dashboard dashboard = template.createDashboard();

    assertThat(dashboard.getLayout()).isEqualTo(DashboardLayout.TWO_COLUMNS);
    assertThat(dashboard.getWidgets()).hasSize(8);
  }
 @Test
 public void should_be_registered_as_an_extension() {
   assertThat(new CorePlugin().getExtensions()).contains(template.getClass());
 }
 @Test
 public void should_have_a_name() {
   assertThat(template.getName()).isEqualTo("Hotspots");
 }