Mocking a non final class with visible constructor?

4 views
Skip to first unread message

Jozef Dransfield

unread,
Sep 10, 2009, 7:06:59 AM9/10/09
to gmock-user
I cant seem to make a mock of the AudioSystem class


def mockAudioSystem = mock(javax.sound.sampled.AudioSystem)

throws an IllegalArgumentException() No visible constructors


Johnny Jian

unread,
Sep 10, 2009, 7:53:36 AM9/10/09
to gmock...@googlegroups.com
Please raise an issue on http://code.google.com/p/gmock/issues/list

Thank you very much.
Reply all
Reply to author
Forward
0 new messages