PostTaskTest: Add proper stubbing of ProjectEvent.getProjectNameKey()

The method is not stubbed, so when PostTask#toString gets called
during tests (or in production when DEBUG is enabled) it gets a null
project which then causes NullPointerException when dereferenced.

Change-Id: Icf361f934d63bd0b6ef17c74113c714964c91903
1 file changed
tree: 548502aea8df22188cfcc009580bff20d8b849cb
  1. src/
  2. tools/
  3. .gitignore
  4. bazlets.bzl
  5. BUILD
  6. external_plugin_deps.bzl
  7. WORKSPACE