public void GetEmployeeRoleFromId_WhenInvalidId_Bigger_ThenThrowsException()
		{
			var permissionManager = new DbPermissionManager(_employeeRepository);
			var id = Enum.GetNames(typeof (EmployeeRole)).Length + 1;

			Assert.Throws<ArgumentException>(() =>
				{
					permissionManager.GetEmployeeRoleFromId(id);
				});
		}
		public void GetEmployeeRoleFromId_WhenCorrectId_ThenCorrectEnum()
		{
			var permissionManager = new DbPermissionManager(_employeeRepository);
			var expected = EmployeeRole.Developer;
			var id = (int)expected;
			var actual = permissionManager.GetEmployeeRoleFromId(id);

			Assert.Equal(expected, actual);
		}
		public void GetEmployeeRoleFromId_WhenInvalidId_Smaller_ThenThrowsException()
		{
			var permissionManager = new DbPermissionManager(_employeeRepository);
			var id = 0;

			Assert.Throws<ArgumentException>(() =>
			{
				permissionManager.GetEmployeeRoleFromId(id);
			});
		}