Skip to content

Instantly share code, notes, and snippets.

View Wavefarer42's full-sized avatar

Wavefarer42 Wavefarer42

View GitHub Profile
@Wavefarer42
Wavefarer42 / docker-compose.yml
Created January 22, 2019 10:04
MongoDB Charts (docker-compose)
version: "3.3"
services:
mongo:
image: mongo:4.1.1
restart: on-failure
command: --wiredTigerCacheSizeGB 3
ports:
# Charts db is available under port 27018 to not block the default mongo port
- "8082:8081"
@Wavefarer42
Wavefarer42 / Issue572.java
Last active April 7, 2016 11:21
Minimal Example of #572
... imports ...
public class Issue572 {
@Test(expectedExceptions = SpoonClassNotFoundException.class)
public void GivenSubclassWithParentNotInClasspath_WhenSuperclass_ThenException() throws URISyntaxException {
final URL url = Issue572.class.getClassLoader().getResource("issue572");
assert url != null;
SpoonAPI launcher = new Launcher();