 import XCTest
 import JWT
 
-class JWTEncodeTests : XCTestCase {
+class EncodeTests: XCTestCase {
   func testEncodingJWT() {
     let payload = ["name": "Kyle"] as Payload
     let jwt = JWT.encode(payload, algorithm: .hs256("secret".data(using: .utf8)!))

  }
}

class JWTPayloadBuilder : XCTestCase {
  func testIssuer() {
    JWT.encode(.none) { builder in
       builder.issuer = "fuller.li"

  }
}

class DecodeTests: XCTestCase {
  func testDecodingValidJWT() {
    let jwt = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiS3lsZSJ9.zxm7xcp1eZtZhp4t-nlw09ATQnnFKIiSN83uG8u6cAg"

