Skip to content
#

mockito

Here are 1,138 public repositories matching this topic...

dbreese
dbreese commented Jul 14, 2021

Take this class, for example:

`
import Foundation

// some comment has import SOMEBADTHING
public protocol TestProtocol: AnyObject {
func doSomething() -> Void
}
`

The generated mock ends up having:

... import SOMEBADTHING ...

Looks like it is looking for "{import .*}" in source files and just adding that verbatim to the output file, causing compile issues.

Improve this page

Add a description, image, and links to the mockito topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the mockito topic, visit your repo's landing page and select "manage topics."

Learn more