hi again, how do you guys/girls write tests for an...
# announcements
s
hi again, how do you guys/girls write tests for an infix function inside a builder
i'm trying to mock the typesafe builder and verify function calls within
m
Copy code
class S3ContextBuilder(bucketName: String = "", s3Client: AmazonS3? = null) {
    infix fun String.moveTo(destinationPath: String) {
        this copyTo destinationPath
        this.delete()
    }
}
something like this?
s
@darkmoon_uk