I hereby claim:
- I am finneycanhelp on github.
- I am finneycanhelp (https://keybase.io/finneycanhelp) on keybase.
- I have a public key ASAmsimbE-61H5mn5ZjFzHqG6uKcTWCjk1cZEIyXc_--7Ao
To claim this, I am signing this object:
class OutShow { | |
private void out(String msg) { | |
println("******* " + getClass().simpleName + ": " + msg); | |
} | |
public static void main(String[] args) { | |
new OutShow().out("hi"); | |
} |
package com | |
import grails.test.GrailsUnitTestCase; | |
import com.SomeService | |
class SomethingTests extends GrailsUnitTestCase { | |
void testSomething() { | |
Something thing = new Something() | |
// thing.someService = [ get : { a -> throw new Throwable() } ] as SomeService // works |
package com | |
class Something { | |
def someService | |
boolean methodWeAreTesting() { | |
someService.get() | |
} | |
package com | |
class SomeService { | |
static transactional = true | |
boolean get(String something) { | |
return false | |
} | |
} |
package com.fch | |
import grails.test.* | |
class HappyControllerTests extends ControllerUnitTestCase { | |
GrailsMock staticWorldMock | |
protected void setUp() { | |
super.setUp() |
$(function() { | |
$.getJSON('http://winasmile.finneycanhelp.c9.io', function(data) { | |
var msg = data.message; | |
$('.messageContainer').html(msg); | |
}); |
import Foundation | |
import RealmSwift | |
import SwiftFetchedResultsController | |
protocol FetchedResultsControllerTableViewDataSource: class { | |
associatedtype T : Object | |
var fetchedResultsController: FetchedResultsController<T>? { get set } |
I hereby claim:
To claim this, I am signing this object: