It does seem harsh - amid all the red tape of contract small print, you would expect an element of humanity on the part of the employer, and benefit of the doubt. If it happened often, then they would be fair to dismiss. But they've known you for a few days, you weren't given the chance to show...