define(['es5-ff-spa-loader'], function(FFSpaLoader) {
	'use strict';
	
	describe('Check module exports', function() {
		describe('Check undefined', function() {
			it('FFSpaLoader.options should be defined', function() {
				expect(FFSpaLoader.options === undefined).toEqual(false);
			});
			it('FFSpaLoader.factory should be defined', function() {
				expect(FFSpaLoader.factory === undefined).toEqual(false);
			});
			it('FFSpaLoader.start should be defined', function() {
				expect(FFSpaLoader.start === undefined).toEqual(false);
			});
			it('FFSpaLoader.clearServerUrl should be defined', function() {
				expect(FFSpaLoader.clearServerUrl === undefined).toEqual(false);
			});
			it('FFSpaLoader.clearCache should be defined', function() {
				expect(FFSpaLoader.clearCache === undefined).toEqual(false);
			});
		});
		describe('Check function', function() {
			it('FFSpaLoader.start should be function', function() {
				expect(typeof FFSpaLoader.start === 'function').toEqual(true);
			});
			it('FFSpaLoader.clearServerUrl should be function', function() {
				expect(typeof FFSpaLoader.clearServerUrl === 'function').toEqual(true);
			});
			it('FFSpaLoader.clearCache should be function', function() {
				expect(typeof FFSpaLoader.clearCache === 'function').toEqual(true);
			});
		});
	});
});