public void get_and_set_last_sector_time_throws_if_sector_number_is_out_of_range()
{
var driver = new LiveDriver(1);
var time = new PostedTime(TimeSpan.Zero, PostedTimeType.Normal, 1);
Assert.Throws<ArgumentOutOfRangeException>(() => driver.SetLastSector(0, time));
Assert.Throws<ArgumentOutOfRangeException>(() => driver.SetLastSector(4, time));
Assert.Throws<ArgumentOutOfRangeException>(() => driver.GetLastSector(0));
Assert.Throws<ArgumentOutOfRangeException>(() => driver.GetLastSector(4));
}