Test whether an expired user share is still accessible.
Test whether a still-valid user share is still accessible.
Try to make Oracle happy by also specifying seconds.
Make dates test class properties.
Do not repeat shareUserOneTestFileWithUserTwo() code.
Expiration tests for sharing with groups.
Coding style: { for methods start are supposed to be on the same line.
Add comment explaining how $dateInFuture was picked.
Add database tests for INSERT/SELECT date format.
Compare objects directly. Also use $expected and $actual.
Calculate dateInPast and dateInFuture.