/**
 * @license
 * Copyright Google Inc. All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
import {NgSwitch, NgSwitchCase, NgSwitchDefault} from '@angular/common';
import {Component} from '@angular/core';
import {TestBed, async} from '@angular/core/testing';
import {beforeEach, ddescribe, describe, iit, inject, it, xit} from '@angular/core/testing/testing_internal';
import {expect} from '@angular/platform-browser/testing/matchers';
export function main() {
  describe('switch', () => {
    beforeEach(() => {
      TestBed.configureTestingModule({
        declarations: [TestComponent],
      });
    });
    describe('switch value changes', () => {
      it('should switch amongst when values', async(() => {
           var template = '
' +
               '
' +
               '- when a' +
               '
- when b' +
               '
' +
               '
' +
               '- when a' +
               '
- when b' +
               '
' +
               '
' +
               '- when a' +
               '
- when default' +
               '
' +
               '
' +
               '- when a1;' +
               '
- when b1;' +
               '
- when a2;' +
               '
- when b2;' +
               '
- when default1;' +
               '
- when default2;' +
               '
' +
               '
' +
               '- when 1;' +
               '
- when 2;' +
               '
- when default;' +
               '