Hi,
Sorry for the late response.
Here's the syntax:
Isolate.Fake.StaticMethods(Of LoggerFactory)()
Isolate.WhenCalled(Function() LoggerFactory.Count).WillReturn(5)
:arrow: If you use WhenCalled like this, you don't need the Fake.StaticMethods call. Only if you use FakeStaticMethods with Recursive fakes or any other non-default argument you need it.
:arrow: Note that since VB does not support anonymous delegates, we don't have a way to do a WhenCalled on a void method. For now.