import {
  beforeEachProviders,
  beforeEach,
  ddescribe,
  describe,
  expect,
  iit,
  inject,
  it,
  xit,
} from '@angular/core/testing/testing_internal';
import {AsyncTestCompleter} from '@angular/core/testing/testing_internal';
import {TestComponentBuilder, ComponentFixture} from '@angular/compiler/testing';
import {Component, Injectable, provide} from '@angular/core';
import {NgPlural, NgPluralCase, NgLocalization} from '@angular/common';
export function main() {
  describe('switch', () => {
    beforeEachProviders(() => [provide(NgLocalization, {useClass: TestLocalizationMap})]);
    it('should display the template according to the exact value',
       inject([TestComponentBuilder, AsyncTestCompleter], (tcb: TestComponentBuilder, async) => {
         var template = '
' +
                        '
' +
                        '- you have no messages.' +
                        '
- you have one message.' +
                        '
' +
             '
' +
             '- you have a few messages.' +
             '
- you have many messages.' +
             '
' +
             '
' +
             '- you have a few messages.' +
             '
- default message.' +
             '
' +
             '
' +
             '- you have a few messages.' +
             'you have two messages.' +
             '