When running a specification without examples, the specification is run as a single "outer" example and the @BeforeExample and @AfterExample hook methods are called for this outer example.
The @BeforeExample methods should have been called 1 time, and the @AfterExample methods should have been called 0 times.