public function it_throws_no_theme_exception_if_tenant_has_no_theme(TenantContextInterface $tenantContext, ThemeAwareTenantInterface $tenant, $themeRepository)
 {
     $tenant->getSubdomain()->willReturn('subdomain');
     $tenant->getCode()->willReturn('code');
     $tenant->getThemeName()->willReturn(null);
     $tenantContext->getTenant()->willReturn($tenant);
     $themeRepository->findOneByName(null)->shouldBeCalled()->willReturn(null);
     $this->shouldThrow('SWP\\Bundle\\CoreBundle\\Exception\\NoThemeException')->during('getTheme');
 }