message: Tested data + defs passed in fluent refresh
diff: @@ -1928,6 +1928,68 @@ describe('Navigation Data', function () {
  }
  });
  + describe.only('Wizard Refresh Data Defaults', function() {
  + var stateNavigator: StateNavigator;
  + beforeEach(function() {
  + stateNavigator = new StateNavigator([
  + { key: 's0', route: 'r0' },
  + { key: 's1', route: 'r1', trackCrumbTrail: true, defaults: { b: true } },
  + { key: 's2', route: 'r2', trackCrumbTrail: true }
  + ]);
  + });
  + var data = {
  + s: 'Hello',
  + n: 5
  + };
  +
  + describe('Navigate', function() {
  + beforeEach(function() {
  + stateNavigator.navigate('s1');
  + stateNavigator.refresh(data);
  + stateNavigator.navigate('s2', stateNavigator.stateContext.includeCurrentData(null));
  + });
  + test();
  + });
  +
  + describe('Navigate Link', function() {
  + beforeEach(function() {
  + var link = stateNavigator.getNavigationLink('s1');
  + stateNavigator.navigateLink(link);
  + link = stateNavigator.getRefreshLink(data);
  + stateNavigator.navigateLink(link);
  + link = stateNavigator.getNavigationLink('s2', stateNavigator.stateContext.includeCurrentData(null));
  + stateNavigator.navigateLink(link);
  + });
  + test();
  + });
  +
  + describe('Fluent Navigate', function() {
  + beforeEach(function() {
  + var link = stateNavigator.fluent()
  + .navigate('s1')
  + .refresh(data)
  + .navigate('s2', currentData => currentData)
  + .url;
  + stateNavigator.navigateLink(link);
  + });
  + test();
  + });
  +
  + function test() {
  + it('should populate data', function () {
  + assert.strictEqual(stateNavigator.stateContext.previousData['s'], 'Hello');
  + assert.strictEqual(stateNavigator.stateContext.previousData['n'], 5);
  + assert.strictEqual(stateNavigator.stateContext.previousData['b'], true);
  + assert.strictEqual(stateNavigator.stateContext.crumbs[1].data['s'], 'Hello');
  + assert.strictEqual(stateNavigator.stateContext.crumbs[1].data['n'], 5);
  + assert.strictEqual(stateNavigator.stateContext.crumbs[1].data['b'], true);
  + assert.strictEqual(stateNavigator.stateContext.data['s'], 'Hello');
  + assert.strictEqual(stateNavigator.stateContext.data['n'], 5);
  + assert.strictEqual(stateNavigator.stateContext.data['b'], true);
  + });
  + }
  + });
  +
  describe('Transition Transition', function() {
  var stateNavigator: StateNavigator;
  beforeEach(function() {
  