Handle panic in Go test framework if activity call was not described in test

When writing workflow unit tests for a workflow that executes certain activity if that activity call was not set as expected (with env.OnActivity()) - there is a panic stack trace in log but test is not failing.
Is there a way to fail a test if workflow executes any non-mocked activity?